import { axios } from '@/utils/request'

export function selectPage (parameter) {
  return axios({
    url: '/member/productList',
    method: 'post',
    params: parameter
  })
}

export function useCoupon (parameter) {
  return axios({
    url: '/member/product/useCoupon',
    method: 'get',
    params: {memberProductId:parameter}
  })
}